package com.huarui.saleInvoiceItem.model;

import java.math.BigDecimal;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.ewaf.framework.model.BaseDataObject;

public class SaleInvoiceItem extends BaseDataObject {

private static final long serialVersionUID = -713383448014210425L;
	
	private Integer id;
	/**
	 * 公司ID
	 */
	private Integer companyId;
	/**
	 * 收款单ID
	 */
	private Integer saleInvoiceId;
	/**
	 * 应收款ID
	 */
	private Integer receivableId;
	/**
	 * 收款金额
	 */
	private BigDecimal received;
	
	public SaleInvoiceItem(){
		
		
	}

	@Override
	public Integer getId() {
		return id;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}



	public Integer getSaleInvoiceId() {
		return saleInvoiceId;
	}

	public void setSaleInvoiceId(Integer saleInvoiceId) {
		this.saleInvoiceId = saleInvoiceId;
	}

	public Integer getReceivableId() {
		return receivableId;
	}

	public void setReceivableId(Integer receivableId) {
		this.receivableId = receivableId;
	}

	public BigDecimal getReceived() {
		return received;
	}

	public void setReceived(BigDecimal received) {
		this.received = received;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this); 
	}
	

}
